package com.itlxd.global;

/** 常量类
 * @author: lixiaodong
 **/
public class SysConstants {

    /**
     * 系统全局是否标识
     */
    public static final Integer YES = 1;
    public static final Integer NO = 0;

    /**
     * ResultVO Code 返回值
     */

    public final static Integer NO_LOGIN = 201;

    public final static Integer USERNAME_IS_NULL = 601;
    public final static Integer ARGS_IS_NULL = 000;
    public final static Integer SETMEAL_ON_SALE = 333;


    /**
     * 默认密码
     */
    public final static String DEFAULT_PASSWORD = "123456";
    public final static String DEFAULT_NAME = "新用户";

    /**
     * 数字 0~10
     */
    public final static int NUM_ZERO = 0;
    public final static int NUM_ONE = 1;
    public final static int NUM_TWO = 2;
    public final static int NUM_THREE = 3;
    public final static int NUM_FOUR = 4;
    public final static int NUM_FIVE = 5;
    public final static int NUM_SIX = 6;
    public final static int NUM_SEVEN = 7;
    public final static int NUM_EIGHT = 8;
    public final static int NUM_NINE = 9;
    public final static int NUM_TEN = 10;


    /**
     * session域保存的键名
     */
    public final static String LOGIN_EMPLOYEE = "employee";
    public final static String LOGIN_USER = "user";

    /**
     * 页面地址
     */
    public final static String LOGIN_HTML = "/backend/page/login/login.html";
    public final static String USER_LOGIN_HTML = "/front/page/login.html";

    /**
     * 性别
     */
    public final static Integer MALE = 1;
    public final static Integer FEMALE = 0;

    /**
     * 缓存key
     */
    public final static String SETMEAL_CACHE = "setmealCache";
    public final static String SHOPPING_CART_CACHE = "shoppingCartCache";

    
}
